package com.xian.minespring.io;

import java.io.IOException;
import java.io.InputStream;

/**
 * @author zhan
 * @version 2024/1/2
 */

@FunctionalInterface
public interface InputStreamCallback<T> {
    T doWithInputStream(InputStream stream) throws IOException;
}
